package com.zsx.shopping.order.enums;

import lombok.Getter;

public enum OrderCodeMsg {

    PRODUCT_PRICE_CHANGE(7001, "商品价格变动,请重新结算");

    @Getter
    private Integer code;

    @Getter
    private String msg;

    OrderCodeMsg(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "CodeMsg{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}
